# $Id: PKGBUILD 179133 2013-03-04 08:06:16Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
pkgname=hwids
pkgver=20130228
pkgrel=1
pkgdesc="hardware identification databases"
url=https://github.com/gentoo/hwids
license=('GPL2')
arch=('any')
source=("https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${pkgver}")

package() {
  cd "${srcdir}/gentoo-hwids"*

  for ids in pci.ids usb.ids; do
    install -Dm644 "$ids" "${pkgdir}/usr/share/hwdata/${ids}"
  done
}
md5sums=('513e46eb5717cd893293d21ccb7ddd9f')
